﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master.master" AutoEventWireup="true"
    CodeFile="admin.aspx.cs" Inherits="admin" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentMain" runat="Server">
    <div class="interno">
        <h1>
            Administração</h1>
        <div style="margin: auto;">
            <h2>
                Estatísticas</h2>
            <br />
            <span style="font-family: Helvetica;">Total de equipamentos cadastrados:</span><asp:Label
                ID="lblTotalEquips" runat="server"></asp:Label>
            <br />
            <br />
            <asp:GridView ID="gridStats" runat="server" EnableModelValidation="True" AutoGenerateColumns="False"
                CellPadding="4" ForeColor="#333333" GridLines="None" OnRowDataBound="gridStats_RowDataBound"
                ShowHeader="false" Width="300px">
                <Columns>
                    <asp:TemplateField>
                        <ItemStyle HorizontalAlign="Center" />
                        <HeaderTemplate>
                            Equipamento
                        </HeaderTemplate>
                        <ItemTemplate>
                            <asp:Label ID="lblEquipTipo" runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField>
                        <ItemStyle HorizontalAlign="Center" />
                        <HeaderTemplate>
                            Número cadastrado
                        </HeaderTemplate>
                        <ItemTemplate>
                            <asp:Label ID="lblEquipCount" runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField>
                        <ItemStyle HorizontalAlign="Center" />
                        <HeaderTemplate>
                            Porcentagem
                        </HeaderTemplate>
                        <ItemTemplate>
                            <asp:Label ID="lblEquipPc" runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <AlternatingRowStyle BackColor="White" />
                <EditRowStyle BackColor="#7C6F57" />
                <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" Font-Names="Helvetica" />
                <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" Font-Names="Helvetica" />
                <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" Font-Names="Helvetica" />
                <RowStyle BackColor="#E3EAEB" Font-Names="Helvetica" />
                <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
            </asp:GridView>
        </div>
    </div>
</asp:Content>
